﻿import QtQuick 2.0

Rectangle{
    id: dour
    property string text1:""
    property var model2:[]
    signal currentText(var text)
    Column{
        Rectangle{
            width: dour.width
            color: "#E1C285"
            y:15*dp
            Text {
                id: t1
                text: text1
                anchors.centerIn: parent
                font.pixelSize: config.pointsize + 2*dp
            }
        }CustomComboBox{
            width: douc.width
            y:25*dp
            titleWidth: 0*dp
            editWidth: 100*dp
            model: model2
            comboBgColor: "#E9E6E0"
            onCurrentText: {
                dour.currentText(text)
            }
        }
    }
}
